package com.java.override;

import java.io.InputStreamReader;

/**
 * 重写 - 父类
 */
public class Parent {
    protected InputStreamReader override(InputStreamReader reader) throws Exception {
        return null;
    }
    
    public void publicFunc() {
        System.out.println("public");
    }
    
    private void privateFunc() {
        System.out.println("private");
    }
    
    static void staticFunc() {
        System.out.println("static");
    }
    
    final void finalFunc() {
        System.out.println("final");
    }
}
